home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / mail / smail / smail.diff-3.1.23-3.1.24 < prev    next >
Encoding:
Text File  |  1991-11-20  |  8.8 KB  |  289 lines

  1. To: smail3-users@cs.athabascau.ca, smail3-wizards@cs.athabascau.ca,
  2.     smail-alpha@veritas.com
  3. Subject: EMERGENCY PATCH (Official patch #24)
  4.  
  5. Well, patch #23 was pretty short-lived.  Please apply this patch
  6. to make your smail well again.
  7. -- 
  8.     tron |-<=>-|        ARPAnet:  veritas!tron@apple.com
  9.       tron@veritas.com        UUCPnet:  {apple,pyramid}!veritas!tron
  10. ---------------------------------------------------------------------------
  11. CHANGES IN THE 3.1.24 RELEASE
  12.  
  13. Release 3.1.24 is an emergency patch release to smail3.1.23.  This
  14. release fixes two major bugs:
  15.  
  16. 1.  While reformatting the bind and tcpsmtp drivers, as written by
  17.     Simon Leinen to match smail's coding style, I introduced a brace
  18.     one line off, causing an infinite loop when writing some deferral
  19.     messages to the log.
  20.  
  21. 2.  The "delete" operation in pathalias didn't work on the local host.
  22.     This turns out to have been a bug in the general pathalias release,
  23.     but smail's paths file generation facilities encourage use of this
  24.     feature, causing this problem to be serious (for example, our site
  25.     here started sending lots of mail through uunet, despite the fact
  26.     that we only call uunet a few times per day, and only at night).
  27.  
  28. This release also contains a conf/os file for AIX on the PS/2, which
  29. is, according to one person, substantially different from AIX3.1 on
  30. the RS/6000.
  31. ---------------------------------------------------------------------------
  32. The following changes should be applied to the version 3.1.23.6
  33. sources for smail, to produce smail3.1.24.1.  The version number
  34. that you are running can be found in the `level' file at the top of
  35. the source tree.  It can also be found by running the command:
  36.  
  37.     smail -V -v
  38.  
  39. For information on smail releases and how you can obtain a complete
  40. smail release or a patch release, send mail to the address:
  41.  
  42.     smail-patch@veritas.com
  43.  
  44. or to the !-style address:
  45.  
  46.     ...{amdahl,apple,pyramid,uunet}!veritas!smail-patch
  47.  
  48. include as the first line of the message one of the following lines:
  49.  
  50.     send help <addr>
  51.     send index <addr>
  52.     send patch <num> <addr>
  53.  
  54. where <num> is a single patch number (e.g., 17) or a single patch range
  55. (e.g., 4-7) and where <addr> is your address relative to veritas.  The
  56. <addr> is optional and if omitted your return path is used.
  57.  
  58. The following patch should be applied to the smail3.1.23.6 release.  To
  59. apply this patch, obtain a copy of the program patch, release 2.0 or
  60. higher.  The patch utility has been posted to the USENET group
  61. comp.sources.unix, and is available from most sites that archive
  62. public domain programs.  Apply this patch using the command:
  63.  
  64.     patch -p [-d /SMAIL_SOURCE_PATH] < this_patch_file
  65.  
  66. where "-d /SMAIL_SOURCE_PATH" specifies a root based path to the top of
  67. the smail source tree, and where "patchfile" is the name of the file in
  68. which this patch is stored.  The "-d /SMAIL_SOURCE_PATH" is not needed
  69. if the current directory is already the top of the smail source tree.
  70.  
  71. NOTE: Don't forget the -p !!!!!
  72.  
  73. Prereq: PATCH_NUMBER=23
  74. Index: patchnum
  75. ***************
  76. *** 1,3 ****
  77. ! # @(#)patchnum    1.11 11 Nov 1991 05:45:23
  78. ! PATCH_NUMBER=23
  79. ! PATCH_DATE=11-nov-91
  80. --- 1,3 ----
  81. ! # @(#)patchnum    1.12 20 Nov 1991 01:02:34
  82. ! PATCH_NUMBER=24
  83. ! PATCH_DATE=20-nov-91
  84.  
  85. Prereq: 3.1.23.6
  86. Index: level
  87. ***************
  88. *** 1,2 ****
  89. ! # @(#)level    1.12 11 Nov 1991 05:45:21
  90. ! 3.1.23.6 Mon Nov 11 05:44:59 PST 1991
  91. --- 1,2 ----
  92. ! # @(#)level    1.13 20 Nov 1991 01:02:30
  93. ! 3.1.24.1 Wed Nov 20 01:01:52 PST 1991
  94.  
  95. Index: conf/os/aix-ps2
  96. ***************
  97. *** 0 ****
  98. --- 1,18 ----
  99. + # @(#)conf/os/aix-ps2    1.1 20 Nov 1991 01:00:37
  100. + # aix-ps2 - define the characteristics of IBM AIX For PS/2
  101. + #
  102. + # Initial hack by Tim Daneliuk (tundra@tundraix.chi.il.us)
  103. + # VERY similar to BSD 4.3, but with minor variations because of the
  104. + # fascinating way IBM organizes directories (!) and the interesting (?)
  105. + # manner in which the glue SYS V and BSD together...sigh
  106. + . $ROOT/conf/os/bsd4.3
  107. + # OSNAMES - Names defining this operating system
  108. + OSNAMES=$OSNAMES:AIX_PS2
  109. + # HAVE - what features should be used with this operating system
  110. + HAVE=$HAVE:USE_TZNAME
  111. + # UUCP_SYSTEM_FILE - path to UUCP file containing remote systems
  112. + UUCP_SYSTEM_FILE=/usr/adm/uucp/Systems
  113.  
  114. Index: README
  115. ***************
  116. *** 56,61 ****
  117. --- 56,83 ----
  118.       delivery_mode=queued
  119.   
  120.   
  121. + CHANGES IN THE 3.1.24 RELEASE
  122. + Release 3.1.24 is an emergency patch release to smail3.1.23.  This
  123. + release fixes two major bugs:
  124. + 1.  While reformatting the bind and tcpsmtp drivers, as written by
  125. +     Simon Leinen to match smail's coding style, I introduced a brace
  126. +     one line off, causing an infinite loop when writing some deferral
  127. +     messages to the log.
  128. + 2.  The "delete" operation in pathalias didn't work on the local host.
  129. +     This turns out to have been a bug in the general pathalias release,
  130. +     but smail's paths file generation facilities encourage use of this
  131. +     feature, causing this problem to be serious (for example, our site
  132. +     here started sending lots of mail through uunet, despite the fact
  133. +     that we only call uunet a few times per day, and only at night).
  134. + This release also contains a conf/os file for AIX on the PS/2, which
  135. + is, according to one person, substantially different from AIX3.1 on
  136. + the RS/6000.
  137.   CHANGES IN THE 3.1.23 RELEASE
  138.   
  139.   Release 3.1.23 is a patch release to smail3.1.22.  This release is
  140.  
  141. Index: pd/pathalias/parse.y
  142. ***************
  143. *** 1,5 ****
  144.   %{
  145. ! /* Smail SCCS ID: @(#)pd/pathalias/parse.y    1.4 %G 05:29:59 */
  146.   /* pathalias -- by steve bellovin, as told to peter honeyman */
  147.   #ifndef lint
  148.   static char    *sccsid = "@(#)parse.y    9.10 88/09/07";
  149. --- 1,5 ----
  150.   %{
  151. ! /* Smail SCCS ID: @(#)pd/pathalias/parse.y    1.5 %G 19:37:27 */
  152.   /* pathalias -- by steve bellovin, as told to peter honeyman */
  153.   #ifndef lint
  154.   static char    *sccsid = "@(#)parse.y    9.10 88/09/07";
  155. ***************
  156. *** 28,33 ****
  157. --- 28,36 ----
  158.   extern int optind;
  159.   extern char *Cfile, *Netchars, **Argv;
  160.   extern int Lineno, Argc;
  161. + #ifdef SMAIL_3
  162. + extern node *Home;        /* node for local host */
  163. + #endif
  164.   
  165.   /* privates */
  166.   STATIC void fixnet(), adjust();
  167. ***************
  168. *** 197,203 ****
  169. --- 200,212 ----
  170.   
  171.           n = addnode($1);
  172.           deletelink(n, (node *) 0);
  173. + #ifndef SMAIL_3
  174.           n->n_flag |= ISPRIVATE;
  175. + #else
  176. +         if (n != Home) {
  177. +             n->n_flag |= ISPRIVATE;
  178. +         }
  179. + #endif
  180.         }
  181.       | usite NET usite    {deletelink($1, $3);}
  182.       ;
  183.  
  184. Index: src/sysdep.c
  185. ***************
  186. *** 1,4 ****
  187. ! /* @(#)src/sysdep.c    1.14 03 Nov 1991 04:56:52 */
  188.   
  189.   /*
  190.    *    Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
  191. --- 1,4 ----
  192. ! /* @(#)src/sysdep.c    1.15 20 Nov 1991 00:57:50 */
  193.   
  194.   /*
  195.    *    Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
  196. ***************
  197. *** 95,101 ****
  198.   extern char *getenv();
  199.   extern char *getlogin();
  200.   extern char *ctime();
  201. ! #if    !defined(UNIX_SYS5) && !defined(POSIX_OS)
  202.   extern char *timezone();
  203.   #endif    /* UNIX_SYS5 */
  204.   #ifndef ANSI_C
  205. --- 95,101 ----
  206.   extern char *getenv();
  207.   extern char *getlogin();
  208.   extern char *ctime();
  209. ! #if    !defined(UNIX_SYS5) && !defined(POSIX_OS) && !defined(USE_TZNAME)
  210.   extern char *timezone();
  211.   #endif    /* UNIX_SYS5 */
  212.   #ifndef ANSI_C
  213. ***************
  214. *** 208,214 ****
  215.   get_time_zone(ltm)
  216.       struct tm *ltm;
  217.   {
  218. ! #if    defined(UNIX_BSD) && !defined(POSIX_OS) || defined(USE_GETTIMEOFDAY)
  219.       struct timeval tv;
  220.       struct timezone tz;
  221.       (void) gettimeofday(&tv, &tz);
  222. --- 208,214 ----
  223.   get_time_zone(ltm)
  224.       struct tm *ltm;
  225.   {
  226. ! #if    (defined(UNIX_BSD) && !defined(POSIX_OS) || defined(USE_GETTIMEOFDAY)) && !defined(USE_TZNAME)
  227.       struct timeval tv;
  228.       struct timezone tz;
  229.       (void) gettimeofday(&tv, &tz);
  230. ***************
  231. *** 217,223 ****
  232.       if (tznodst) ltm->tm_isdst = 0;
  233.   #endif /* GLOTZNET */
  234.       return timezone(tz.tz_minuteswest, ltm->tm_isdst);
  235. ! #else    /* (not UNIX_BSD || POSIX_OS) && not USE_GETTIMEOFDAY */
  236.   # if defined(UNIX_SYS5) || defined(POSIX_OS) || defined(USE_TZNAME)
  237.       extern char *tzname[2];
  238.   
  239. --- 217,223 ----
  240.       if (tznodst) ltm->tm_isdst = 0;
  241.   #endif /* GLOTZNET */
  242.       return timezone(tz.tz_minuteswest, ltm->tm_isdst);
  243. ! #else    /* (not UNIX_BSD || POSIX_OS) && !USE_GETTIMEOFDAY && !USE_TZNAME */
  244.   # if defined(UNIX_SYS5) || defined(POSIX_OS) || defined(USE_TZNAME)
  245.       extern char *tzname[2];
  246.   
  247.  
  248. Index: src/transports/tcpsmtp.c
  249. ***************
  250. *** 1,4 ****
  251. ! /* @(#)src/transports/tcpsmtp.c    1.8 10 Nov 1991 05:57:34 */
  252.   
  253.   /*
  254.    *    Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
  255. --- 1,4 ----
  256. ! /* @(#)src/transports/tcpsmtp.c    1.9 20 Nov 1991 00:47:09 */
  257.   
  258.   /*
  259.    *    Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
  260. ***************
  261. *** 109,116 ****
  262.           }
  263.           }
  264.   #undef mx_hint
  265. -         insert_addr_list(addr, defer, error);
  266.       }
  267.       } else {
  268.       struct in_addr ipaddr;
  269.       short family;
  270. --- 109,116 ----
  271.           }
  272.           }
  273.   #undef mx_hint
  274.       }
  275. +     insert_addr_list(addr, defer, error);
  276.       } else {
  277.       struct in_addr ipaddr;
  278.       short family;
  279.